#ifndef _UNIKAT_H
#define _UNIKAT_H

#include "rbstrom.h"
#include "pamet.h"

class Qstrom;

long Qstrom_cmp(Qstrom*,Qstrom*);

class Ustrom{
  RBstrom<Qstrom*> *t;
  public:
    Ustrom() {t=new RBstrom<Qstrom*>(Qstrom_cmp); malopameti(t);}
    ~Ustrom() {if(t) delete t;}
    int unikat(Qstrom *&t);
    int zrus(Qstrom *s);
};

#endif